home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / wc.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. WC(1L)            Misc. Reference Manual Pages             WC(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      wc - print the number of bytes, words, and lines in files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      wwwwcccc [-clw] [--bytes] [--chars] [--lines] [--words] [--help] [
  13.      --version] [file...]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This manual page documents the GNU version of wwwwcccc.  wwwwcccc counts
  17.      the  number  of  bytes, whitespace-separated words, and new-
  18.      lines in each given file, or the standard input if none  are
  19.      given or when a file named `-' is given.  It prints one line
  20.      of counts for each file, and if the file  was  given  as  an
  21.      argument,  it  prints the filename following the counts.  If
  22.      more than one filename is given, wwwwcccc prints a final line con-
  23.      taining  the  cumulative  counts, with the filename `total'.
  24.      The counts are printed in the order: lines, words, bytes.
  25.  
  26.      By default, wwwwcccc prints all three counts.  Options can specify
  27.      that  only  certain  counts be printed.  Options do not undo
  28.      others previously given, so wwwwcccc --_b_y_t_e_s --_w_o_r_d_s  prints  both
  29.      the byte counts and the word counts.
  30.  
  31.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  32.      -_c, --_b_y_t_e_s, --_c_h_a_r_s
  33.           Print only the byte counts.
  34.  
  35.      -_w, --_w_o_r_d_s
  36.           Print only the word counts.
  37.  
  38.      -_l, --_l_i_n_e_s
  39.           Print only the newline counts.
  40.  
  41.      --_h_e_l_p
  42.           Print a usage message and exit with a non-zero status.
  43.  
  44.      --_v_e_r_s_i_o_n
  45.           Print version information on standard output then exit.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. FSF              Last change: GNU Text Utilities                1
  64.  
  65.  
  66.  
  67.